package cn.source.zk.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 通道
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Channel {

    private static final long serialVersionUID = 1L;

    private Long num;

    private String tdGuid;

    private String zhGuid;

    /**
     * 通道名称
     */
    private String channelName;

    /**
     * 通道序号
     */
    private Long channelNum;

    /**
     * 并网点
     */
    private Long connectionPointNum;

    /**
     * 所属设备
     */
    private Long deviceNum;

    /**
     * 额定电压，单位：V
     */
    private String ratedVoltage;

    /**
     * 额定电压
     */
    private RatedVol ratedVol;

    /**
     * 电压等级
     */
    private String voltageLevel;

    private VolLevel volLevel;

    /**
     * 接线方式
     */
    private String wiringMeth;

    /**
     * 接线方式
     */
    private WiringMethod wiringMethod;

    /**
     * 电压变比
     */
    private Double voltageRatio;

    /**
     * 电流变比
     */
    private Double currentRatio;

    /**
     * 对应电压
     */
    private String matchVoltage;

    /**
     * 接入方式
     */
    private String accessMode;

    private AccessMethod accessMethod;

    /**
     * 基准短路容量（单位：MWA）
     */
    private Double baseShortCirCap;

    /**
     * 最小短路容量
     */
    private Double minShortCirCap;

    /**
     * 用电协议容量
     */
    private Double eServAgCap;

    /**
     * 用电设备容量
     */
    private Double dEquipCap;

    /**
     *电压上限阈值
     */
    private Double voltageUpperLimit;

    /**
     * 电压下限阈值
     */
    private Double voltageLowerLimit;

    /**
     * 电压中断阈值
     */
    private Double voltageLnterThr;

    /**
     * 本地数据源路径
     */
    private String localDataSource;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private ConnectionPoint connectionPoint;

    private Device device;

    /**
     * 数据源
     */
    private String chInfoSource;


    public String getChInfoSource() {
        return chInfoSource;
    }

    public void setChInfoSource(String chInfoSource) {
        this.chInfoSource = chInfoSource;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getTdGuid() {
        return tdGuid;
    }

    public void setTdGuid(String tdGuid) {
        this.tdGuid = tdGuid;
    }

    public String getZhGuid() {
        return zhGuid;
    }

    public void setZhGuid(String zhGuid) {
        this.zhGuid = zhGuid;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Long getChannelNum() {
        return channelNum;
    }

    public void setChannelNum(Long channelNum) {
        this.channelNum = channelNum;
    }

    public Long getConnectionPointNum() {
        return connectionPointNum;
    }

    public void setConnectionPointNum(Long connectionPointNum) {
        this.connectionPointNum = connectionPointNum;
    }

    public String getRatedVoltage() {
        return ratedVoltage;
    }

    public void setRatedVoltage(String ratedVoltage) {
        this.ratedVoltage = ratedVoltage;
    }

    public String getVoltageLevel() {
        return voltageLevel;
    }

    public void setVoltageLevel(String voltageLevel) {
        this.voltageLevel = voltageLevel;
    }

    public String getWiringMeth() {
        return wiringMeth;
    }

    public void setWiringMeth(String wiringMeth) {
        this.wiringMeth = wiringMeth;
    }

    public Double getVoltageRatio() {
        return voltageRatio;
    }

    public void setVoltageRatio(Double voltageRatio) {
        this.voltageRatio = voltageRatio;
    }

    public Double getCurrentRatio() {
        return currentRatio;
    }

    public void setCurrentRatio(Double currentRatio) {
        this.currentRatio = currentRatio;
    }

    public String getMatchVoltage() {
        return matchVoltage;
    }

    public void setMatchVoltage(String matchVoltage) {
        this.matchVoltage = matchVoltage;
    }

    public String getAccessMode() {
        return accessMode;
    }

    public void setAccessMode(String accessMode) {
        this.accessMode = accessMode;
    }

    public Double getBaseShortCirCap() {
        return baseShortCirCap;
    }

    public void setBaseShortCirCap(Double baseShortCirCap) {
        this.baseShortCirCap = baseShortCirCap;
    }

    public Double getMinShortCirCap() {
        return minShortCirCap;
    }

    public void setMinShortCirCap(Double minShortCirCap) {
        this.minShortCirCap = minShortCirCap;
    }

    public Double geteServAgCap() {
        return eServAgCap;
    }

    public void seteServAgCap(Double eServAgCap) {
        this.eServAgCap = eServAgCap;
    }

    public Double getdEquipCap() {
        return dEquipCap;
    }

    public void setdEquipCap(Double dEquipCap) {
        this.dEquipCap = dEquipCap;
    }

    public Double getVoltageUpperLimit() {
        return voltageUpperLimit;
    }

    public void setVoltageUpperLimit(Double voltageUpperLimit) {
        this.voltageUpperLimit = voltageUpperLimit;
    }

    public Double getVoltageLowerLimit() {
        return voltageLowerLimit;
    }

    public void setVoltageLowerLimit(Double voltageLowerLimit) {
        this.voltageLowerLimit = voltageLowerLimit;
    }

    public Double getVoltageLnterThr() {
        return voltageLnterThr;
    }

    public void setVoltageLnterThr(Double voltageLnterThr) {
        this.voltageLnterThr = voltageLnterThr;
    }

    public String getLocalDataSource() {
        return localDataSource;
    }

    public void setLocalDataSource(String localDataSource) {
        this.localDataSource = localDataSource;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public ConnectionPoint getConnectionPoint() {
        return connectionPoint;
    }

    public void setConnectionPoint(ConnectionPoint connectionPoint) {
        this.connectionPoint = connectionPoint;
    }

    public Long getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(Long deviceNum) {
        this.deviceNum = deviceNum;
    }

    public Device getDevice() {
        return device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public RatedVol getRatedVol() {
        return ratedVol;
    }

    public void setRatedVol(RatedVol ratedVol) {
        this.ratedVol = ratedVol;
    }

    public WiringMethod getWiringMethod() {
        return wiringMethod;
    }

    public void setWiringMethod(WiringMethod wiringMethod) {
        this.wiringMethod = wiringMethod;
    }

    public AccessMethod getAccessMethod() {
        return accessMethod;
    }

    public void setAccessMethod(AccessMethod accessMethod) {
        this.accessMethod = accessMethod;
    }

    public VolLevel getVolLevel() {
        return volLevel;
    }

    public void setVolLevel(VolLevel volLevel) {
        this.volLevel = volLevel;
    }
}
